package net.mysoft.budgetsoft.system.pagemodel;

/**   
 *  
 * @author dagongPGP v1.0 
 * @link <a href=http://www.dagongsoft.net>北京大公信软科技有限公司</a> 
 *  
 * @version $Revision: 1.00  $Date: 2013-07-08 17:26:13 
 */

public class FlowNodeClass implements java.io.Serializable {

	private String ids;
	private int page;// 当前页
	private int rows;// 每页显示记录数
	private String sort;// 排序字段名
	private String order;// 按什么排序(asc,desc)
	  
    private String fnc_ID;
    private String fnc_Name_cn;
    private String fnc_Name_en;
    private String fnc_Description;
	
	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
	
    public String getFnc_ID(){
    	return this.fnc_ID;
    }
    
    public void setFnc_ID(String fnc_ID){
    	this.fnc_ID = fnc_ID;
    }
    
    public String getFnc_Name_cn(){
    	return this.fnc_Name_cn;
    }
    
    public void setFnc_Name_cn(String fnc_Name_cn){
    	this.fnc_Name_cn = fnc_Name_cn;
    }
    
    public String getFnc_Name_en(){
    	return this.fnc_Name_en;
    }
    
    public void setFnc_Name_en(String fnc_Name_en){
    	this.fnc_Name_en = fnc_Name_en;
    }
    
    public String getFnc_Description(){
    	return this.fnc_Description;
    }
    
    public void setFnc_Description(String fnc_Description){
    	this.fnc_Description = fnc_Description;
    }
    
	
    @Override
    public int hashCode() {
    	int prime = 0;
        prime +=this.getFnc_ID().hashCode();
        return prime;
    }

    @Override
    public boolean equals(Object obj) {
    	boolean isEquals = false;
    	if(obj!=null&&this.getClass()==obj.getClass()){
    		FlowNodeClass clazz = (FlowNodeClass)obj;
            if(clazz.getFnc_ID().equals(this.getFnc_ID()))
            	isEquals = true;
    		return isEquals;
    	}
        return isEquals;
    }

}